# $Id: PKGBUILD 72635 2012-06-18 09:23:57Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-term-progressbar
pkgver=2.13
pkgrel=1
pkgdesc="Perl/CPAN Module Term::ProgressBar : Progress bar in just ASCII  using Term"
arch=("any")
url="http://search.cpan.org/dist/Term-ProgressBar"
license=("GPL" "PerlArtistic")
depends=("perl-class-methodmaker" "perl-term-readkey")
source=("http://search.cpan.org/CPAN/authors/id/S/SZ/SZABGAB/Term-ProgressBar-$pkgver.tar.gz")
md5sums=('1247d7f017c1d82d1610f27573ef029e')

build() {
  cd $srcdir/Term-ProgressBar-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
